﻿html {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    min-height: 100%;
}

body {
    margin: 0 0 250px;
    padding: 0;
    height: 10%;    
    background-image: url("square.png");
    background-attachment: fixed;
}
a {
    font-family: 'Open Sans Condensed';
    font-weight: lighter;
    color: black;
    text-decoration: none;
}

span {
    font-family: 'Open Sans Condensed';
    color: #1eb991;
}

/* remove border around all input elements */
input:focus {
    outline: none;
}

/* remove border around all textarea elements */
textarea:focus {
    outline: none;
}

/* remove border around all select elements */
select:focus {
    outline: none;
}

/* remove border around all input,textarea and select elements */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* remove border around all elements */
:focus {
    outline: none;
}


h1 {
    font-family: 'Open Sans Condensed';
    font-weight: lighter;
}

h2 {
    font-family: 'Open Sans Condensed';
    font-weight: lighter;
}
p {
    font-family: 'Open Sans Condensed';
    font-weight: lighter;
    font-size: 18px;
    text-align: justify;
}
#searchDropDown {
    font-family: 'Open Sans Condensed';
    font-size: 15px;
}


#mainFooter {
    /*background-color:white;
    background-image: linear-gradient(90deg, rgba(100,100,100,.5) 50%, transparent 50%), linear-gradient(rgba(100,100,100,.5) 50%, transparent 50%);
    background-size:50px 50px;*/
    background: black;
    background-image: url("darksquare.png");
    width: 100%;
    height: 250px;
    position: absolute;
    bottom: 0;
    box-shadow: inset 1px 15px 20px -6px rgba(0,0,0,0.7);
    -webkit-box-shadow: inset 1px 15px 20px -6px rgba(0,0,0,0.7);
    -moz-box-shadow: inset 1px 15px 20px -6px rgba(0,0,0,0.7);
}

/*#mainHeader {
    width: 100%;
    min-width: 400px;
    height: 228px;
    padding-top: 30px;
    display:block;
    margin-left:auto;
    margin-right:auto;
    position: fixed;
    top: 0;
    z-index: 99998;
    /*box-shadow: 0px 20px 40px 4px #FFFFFF;
    -moz-box-shadow: 0px 20px 40px 4px #FFFFFF;
    -webkit-box-shadow: 0px 20px 40px 4px #FFFFFF;*/
    /*background-image: url("square.png");*/

/*}*/

 #mainHeader {
    width: 100%;
    min-width: 400px;
    height: 100px;
    padding-top: 5px;
    display:block;
    margin-left:auto;
    margin-right:auto;
    position: fixed;
    top: 0;
    z-index: 99998;
    background-image: url("square.png");

}

#contentDiv {
    width:39.5%;
    min-width: 400px;
    margin: 0 auto; 
    padding-top: 115px;
    min-height: 100%;
    height: 100%;
    margin-bottom: 50px;
    
    overflow:hidden;
}

#loginDiv {
    width: 50px;
    position: absolute;
    display:inline-block;
    top: 5px;
    right: 15px;
    z-index:150;
}
#loginBtn {
    float: right;
}

#borrowerDiv {
    width: 122px;
    position: absolute;
    display:inline-block;
    top: 5px;
    right: 15px;
    z-index:150;
}

#adminDiv {
    width: 100px;
    position: absolute;
    display:inline-block;
    top: 5px;
    right: 15px;
    z-index:150;
}

#myPagesBtn {
    float: left;
}

#logoutBtn {
    float:right;
}

#logoutBtn2 {
    float:right;
}

#adminPageBtn {
    float: left;   
}

#headerImageDiv {
    width: 100px;
    float:left;
    margin-right: 10px;
}

#headerImage{
    width: 85px;
    height: 85px;
    position:relative;
    margin-top: 15px;
}

#headerImgNaviSearch {
    width: calc(40% + 110px);
    position:relative;
    left: calc(30% - 110px);
    min-width: 400px;
}

#naviSearch{
    float:left;
    position:relative;
    width: calc(100% - 110px);
    top:35px;
}
#adminNaviSearch{
    float:left;
    position:relative;
    width: calc(100% - 110px);
    top:5px;
}


#naviField {
    width: 88px;
    margin-left:auto;
    margin-right: auto;
    display:block;
    position: relative;
    bottom: 10px;
}

#homeBtn {
    float:left;
}

#browseBtn {
    float:right;
}

#searchDiv {
    background: white;
    overflow:hidden;
    width: 100%;
    min-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    -webkit-box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
	   -moz-box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
	        box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
}

#searchBox {
    background-color: white;
    width: calc(100% - 155px);
    height: 40px;
    border-width: 0;
    padding-left: 15px;
    font-family: 'Segoe UI';
    font-weight: lighter;
    float:left;
}

#searchDropDown {
    height: 42px;
    width: 90px;
    float:right;
    position:relative;
    margin-right: 10px;
    border: 0;
    border-left: 1px solid lightgrey;
    padding-left: 5px;
}

#searchBtn {
    height:30px;
    width: 30px;
    position:relative;
    margin-top: 5px;
    margin-right: 5px;
    float:right;
}

#logoH1 {
    font-family: "Open Sans Condensed";
    font-weight: bolder;
    font-style:italic;
    font-stretch: extra-condensed;
    
    text-align:center;
    font-size: 60px;
    line-height: 0%;
}

#logoH2 {
    font-family:'Open Sans Condensed';
    font-weight:lighter;
    font-style:italic;
    text-align: center;
    font-size: 26px;
    padding-bottom: 25px;
}

.divider {
    height: 20px;
    width: 0;
    margin-left: 10px;
    margin-right: 10px;
    display:inline-block;
    border-left:1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}


.loginModalDialog {
	position: fixed;
	font-family: 'Open Sans Condensed';
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;	
	pointer-events: none;
}

.loginModalDialog:target {
	opacity:1;
    -webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events:all;
}

.loginModalDialog > div {
	width: 450px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: white;
}

#loginModalForm {
    padding-top: 25px;
}

#userName {
    height:35px;
    float: left;
    padding-left: 15px;
    margin-left: 25px;
    border: 0;
    font-family: 'Segoe UI';
    font-weight: lighter;
    border-radius: 5px;
    -webkit-box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
	   -moz-box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
	        box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
}

#passWord {
    height:35px;
    border: 0;
    float: right;
    margin-right: 25px;
    padding-left: 15px;
    font-family: 'Segoe UI';
    font-weight: lighter;
    border-radius: 5px;
    -webkit-box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
	   -moz-box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
	        box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.31);
}

#logInModal {
    margin-left:25px;
}

#cancelModal {
    float:right;
    margin-right:25px;
}

#bookTable{
    width: 100%;
    padding: 0px 30px 0px 30px;
    background-color: lightgray;    
    /*border: solid 1px #5c8692;*/
    background-size: 1px 100%;
    border-radius: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
}

    #bookTable:hover {
        background-color: darkgray;
        background: -webkit-linear-gradient(left, #1eb991 0%,#1e93b9 100%);
        background: -moz-linear-gradient(left, #1eb991 0%,#1e93b9 100%);
        background: -o-linear-gradient(left, #1eb991 0%,#1e93b9 100%);
        background: -ms-linear-gradient(left, #1eb991 0%,#1e93b9 100%);
        background: linear-gradient(left, #1eb991 0%,#1e93b9 100%);
    }

    table #bookTitle {
        font-family:'Open Sans Condensed';
        font-size: 20px;
        font-weight: bold;
        font-style: italic;
    }

    table #bookAuthor {
        font-family:'Open Sans Condensed';
        font-size: 16px;
        line-height: 50%;
    }

    table #bookISBN {
        font-family:'Open Sans Condensed';
        font-weight:lighter;
        font-size: 14px;
    }

    table #authorLastName {
        font-family:'Open Sans Condensed';
        font-weight:bold;
        font-size: 16px;
        float:left;
        font-style: italic;
    }

    table #authorFirstName {
        font-family:'Open Sans Condensed';
        font-weight:lighter;
        font-size: 16px;
        float:left;
        margin-left: 2px;
    }

    table #authorBirthYear {
        font-family:'Open Sans Condensed';
        font-weight:lighter;
        font-size: 16px;
        float:right;
    }
    
#mainContent_bookDetailTitle {
    font-size: 36px;
    font-weight: lighter;
    color:black;
    margin-bottom: 10px;
}


.labels {
    display:block;
    font-family: 'Open Sans Condensed';
    color:black;
}

#bookDetailCopies{
    width: 100%;
    margin-top: 5px;
    border-top: 1px solid lightgray;
}

#bookDetailOne {
    float:Left;
    font-family: 'Open Sans Condensed';
}

#bookDetailTwo {
    float:right;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
    font-style:italic;
}
#mainContent_searchResCount {
    float:right;
}

#mainContent_browseLinks {
    float:right;
}

#mainContent_browseLinks > #mainContent_browseBooksLink {
    float:left;
}
#mainContent_browseLinks > #mainContent_browseAuthorLink {
    float:right;
}

#mainContent_authorDetailName {
    color:black;
    font-family: 'Open Sans Condensed';
    font-size: 30px;
}

#mainContent_authorDetailYear {
    color:black;
    font-family: 'Open Sans Condensed';
    font-size: 20px;
    margin-left: 15px;
}

.linkBtnBook:hover {
    color:#1eb991;
}

.ViewInitial {
    display:block;
    float:left;
    font-family: 'Open Sans Condensed';
    font-size: 16px;
    background-color:#1e93b9;
    margin-right: 1px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-top: 10px;
    border: 0;
}

.ViewClicked {
    display:block;
    float:left;
    font-family: 'Open Sans Condensed';
    font-size: 16px;
    background-color:#1eb991;    
    margin-right: 1px;
    margin-left: 0px;
    margin-bottom: 0px;    
    margin-top: 10px;
    border: 0;
}

.adminView {
    float:left;
    width: 100%;
    height: 100%;
}

#adminNavField {
    width: 400px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    bottom: 3px;
}
.adminNavInitial {
    display:inline-block;
    font-family: 'Open Sans Condensed';
    font-size: 16px;
    border: 0;
    background: 0;
    margin-left: 0;
    margin-right: 2px;
    margin-top: 0;
    margin-bottom: 0;
}

.adminNavInitial:hover {
    color:#1eb991;
}

#adminSearchDetailOne {
    float:left;
    display:block;
    margin-right: 15px;
    font-weight: bold;
    font-style: italic;
}
#adminSearchDetailTwo {
    float:left;
    display:block;
}
#adminSearchDetailThree {
    float:right;
    display:block;
}


/*Admin Controls*/

#adminControlDiv label {    
    float:left;
    display: inline;
}

#adminControlDiv span {
    font-family: 'Open Sans Condensed';
    color: black;
}


#adminControlDiv {
    position:relative;
    width: 100%;
    height: 300px;
}

#adminControls {
    position: absolute;
    right: 0;
    top: 25px;
}

.adminPanel {
    position: absolute;
    left: 0;
    top: 70px;  
    width: 100%;  
}

.adminPanel input{
    width: 78%;
    position: absolute; 
    right: 0;
}

.adminPanel .adminSave {
    height: 30px;
    width: 50px;
    margin-top: 10px;
    border: 0;
    border-bottom: solid 2px #6a9022;
    background-color: #a6e039;
    color:white;
}

.adminAddObject {
    position: absolute;
    left: calc(50% - 200px);
    top: 150px;  
    width: 400px;
}

.adminAddObject input{
    width: 78%;
    position: absolute; 
    right: 0;
}

.adminAddObject .adminSave {
    height: 30px;
    width: 50px;
    margin-top: 10px;
    border: 0;
    border-bottom: solid 2px #6a9022;
    background-color: #a6e039;
    color:white;
}

.forlangBtn {
    width: 70px;
    float:right;
    height: 30px;
    border: 0;
    border-bottom: solid 2px #9bae4b;
    background-color: #d2eb6a;
    color:black;
    text-align:center;
    line-height: 30px;
}
.adminModify {
    height: 30px;
    border: 0;
    border-bottom: solid 2px #154e74;
    background-color: #338bc6;
    color:white;
}

.adminDelete {
    height: 30px;
    border: 0;
    border-bottom: solid 2px #832323;
    background-color: #d33838;
    color:white;
}

#mainContent_borrowerName {
    color:black;
    font-size: 30px;
}

#mainContent_borrowerAddress, #mainContent_borrowerID, #mainContent_borrowerTelNo, #mainContent_borrowerCategory {
    color:black;
    font-size: 20px;
}

#brwrActive {
    position: relative;
}

#brwrActive #actTable{
    width: 100%;
    margin-top: 5px;
    border-top: 1px solid lightgray;
}


#brwrHistory {
    position: relative;
}

#brwrHistory #histTable {
    width: 100%;
    margin-top: 5px;
    border-top: 1px solid lightgray;
}


#brwrTitle {
    max-width: 250px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    float:left;
}
 #brwrBarcode{
    position: absolute;
    right: 0;
}

#brwrED {
    position: absolute;
    right: 0;
}

#brwrRD {
    float:left;
}

#brwrSD {
    float:left;
    margin-right: 15px;
}

tr {
    font-family: 'Open Sans Condensed';
    font-size: 17px;
}